package com.example.qywechat.zidingyiPOSTzhujie.controller;

import com.example.qywechat.zidingyiPOSTzhujie.annotation.CustomParam;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author huangxy
 * @date 2020/05/29 22:20:05
 */
@Slf4j
@RestController
public class SimpleController {

    @PostMapping("/test2")
    public String test(@CustomParam String id, @CustomParam String code) {
        log.info("接收到参数:{}", id,code);
        return id+"1111111111"+code;
    }

}
